/**
 * \file       process.h
 * \brief      header file for process.cpp
 * \version    1.0
 * \author     dragon,chinagnu@gmail.com
 * \date       2008-05-02
 * \remarks    there is initial Version
 * \bug        unknown
 * \todo       header for process multimedia data
 *
 * <HR>
 * \version    1.1
 * \author     dragon,chinagnu@gmail.com
 * \date       2008-05-06
 * \remarks    modify some funtions defination.
 *
 * <HR>
 * \version    1.2
 * \author     dragon,chinagnu@gmail.com
 * \date       2008-05-08
 * \remarks    remove some functions of this class, move them to class XMLProcess
 *
 */

#ifndef    process_H
#define    process_H

#include "dragon.h"

/// process media data stream 
class MediaProcess
{
private:
     wxString p_info;
	 uint32_t progress_update_flag;
     
public:
     MediaProcess(void);
     ~MediaProcess(void);  
     void play(wxMediaCtrl *engineer);
     void play(wxMediaCtrl *engineer,wxString& name);
     void pause(wxMediaCtrl *engineer);
     void stop(wxMediaCtrl *engineer);
	 void set_media_seek(wxMediaCtrl *engineer,uint32_t flag);
     void updata_progress(wxMediaCtrl* engineer,wxGauge* progress,wxStaticText* progress_info);

	 unsigned int jump_time;
};

#endif
